package com.wuge.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wuge.common.utils.PageUtils;
import com.wuge.gulimall.product.entity.AttrAttrgroupRelationEntity;
import com.wuge.gulimall.product.entity.AttrEntity;
import com.wuge.gulimall.product.entity.CategoryBrandRelationEntity;
import com.wuge.gulimall.product.vo.AttrGroupRelactionVo;

import java.util.List;
import java.util.Map;

/**
 * 属性&属性分组关联
 *
 * @author ñÒ¹ÚÎé
 * @email 1712378864@qq.com
 * @date 2021-06-27 14:36:04
 */
public interface AttrAttrgroupRelationService extends IService<AttrAttrgroupRelationEntity> {

    PageUtils queryPage(Map<String, Object> params);
    List<Long> getAttrIds(Long attrGroupId);
    void deleteRelation(AttrGroupRelactionVo[] attrGroupRelactionVo);

    PageUtils getNoAttr(Long cateId,Map param);

    void update(List<AttrGroupRelactionVo> attrGroupRelactionVo);
}

